package 第1节循环语句;

public class AnLi12 {
    public static void main(String[] args) {
        /*
        1 × 1 = 1
        2 × 1 = 2  2 × 2= 4
        3 × 1 = 3  3 × 2 = 6  3 × 3 = 9
        i = 1 ~ 9
            j = 1 ~ i
        */
        for (int i = 1; i <= 9; i++) {
            for (int j = 1; j <= i; j++) {
                System.out.print(i + " × " + j + " = " + i * j + "\t");
            }
            System.out.println();
        }
    }
}
